<!doctype html>
<html xmlns:th="http://www.thymeleaf.org" lang="cn">
<head>
    <meta charset="utf-8">
    <meta content="招聘" http-equiv="keywords">
    <meta name="description" content="招聘,培训">
    <meta name="format-detection" content="telephone=no">
    <!-- 禁止IPHONE识别手机号码 -->
    <meta name="viewport" content="width=device-width,user-scalable=no, initial-scale=1">
    <meta name="renderer" content="webkit">
    <title>日常经费</title>
    <!-- css -->
    <link rel="stylesheet" type="text/css" th:href="@{/asserts/css/index.css}">
    <link rel="stylesheet" type="text/css" th:href="@{/asserts/css/swiper.min.css}">
    <!-- public_css -->
    <link rel="stylesheet" type="text/css" th:href="@{/asserts/css/public_lib.css}">
    <!-- zy_public_css -->
    <link rel="stylesheet" type="text/css" th:href="@{/asserts/css/zy_public.css}">
    <!-- 子页css -->
    <link rel="stylesheet" type="text/css" th:href="@{/asserts/css/children.css}">
    <!-- js -->
    <script type="text/javascript" th:src="@{/asserts/js/jquery-3.3.1.min.js}"></script>
    <script type="text/javascript" th:src="@{/asserts/js/swiper.min.js}"></script>
    <script type="text/javascript" th:src="@{/asserts/js/public.js}"></script>
    <script th:src="@{/asserts/Apolar_sh/lib/layer/2.4/layer.js}"></script>
    <style type="text/css">
        .ems {
            width: 50px;
            text-align: center;
            height: 25px;

        }

        .Fillet {
            margin-left: 1%;
            width: 93%;
            border: 1px solid darkturquoise;
            border-radius: 15px;
        }
    </style>
</head>
<body>
<header class="zy_search_top_box">
    <div class="zy_search_top fix">
        <div class="one">
            <a th:href="@{/m_member/loginOut}"><img th:src="@{/asserts/images/Logout.png}" alt="加载失败"/></a>
        </div>
        <div class="box">
            <form class="form-inline" id="SearchForm" th:action="@{/mds/dsSearchShow(pageSize=${pageSize})}"
                  method="post">
                <input id="dsDate" th:if="${cdsc}==null" type="date" class="form-control input-sm"
                       name="cdscDate">
                <input id="dsDate" th:if="${cdsc}!=null" type="date" class="form-control input-sm"
                       name="cdscDate"
                       th:value="${cdsc.cdscDate}">
                <span><img id="sumit" th:onclick="search()" th:src="@{/asserts/images/icon_search.png}"></span>
            </form>
        </div>
        <!-- 注释去间隙-->
        <div class="r">
            <a th:href="@{dsAddUI}">添加</a>
        </div>
    </div>
</header>
<div style="margin-top:5px;">
    <!-- 内容框 -->
    <div class="zy_module-content" th:if="${info==null}">
        <!-- 消息 -->
        <div class="tuij_box item_list">
            <ul>
                <!-- 循环 -->
                <li class="Fillet" th:each="ds:${pageBean.list}">
                    <a th:href="@{dsModifyUI(dsId=${ds.dsId},currentPage=${pageBean.pageNum},pageSize=${pageSize})}">
                        <div class="item_tit fix">
                            <h2 class="l pct80">日期：<b class="g3 n">[[${#dates.format(ds.dsDate, 'yyyy-MM-dd')}]]</b>
                            </h2>
                        </div>
                        <div class="item_tit fix">
                            <h2 class="l pct80">合计：<b class="g3 n">[[${ds.dsTotal}]]</b>元</h2>
                            <h2>查看详情</h2>
                        </div>
                    </a>
                </li>
            </ul>
        </div>
        <!-- 翻页 -->
        <div class="zy_fanye dis_flex">
            <a th:if="${pageBean.pageNum!=1 && searchURL==null}"
               th:href="@{/mds/dsShow(currentPage=${pageBean.pageNum-1},pageSize=${pageSize})}">上一页</a>
            <a th:if="${pageBean.pageNum!=1 && searchURL!=null}"
               th:href="@{${searchURL}(currentPage=${pageBean.pageNum-1},pageSize=${pageSize})}">上一页</a>
            <a th:if="${pageBean.pageNum!=pageBean.pages && searchURL==null}"
               th:href="@{/mds/dsShow(currentPage=${pageBean.pageNum+1},pageSize=${pageSize})}">下一页</a>
            <a th:if="${pageBean.pageNum!=pageBean.pages && searchURL!=null}"
               th:href="@{${searchURL}(currentPage=${pageBean.pageNum+1},pageSize=${pageSize})}">下一页</a>
        </div>
    </div>
    <div th:if="${info != null&&cdsc==null}">
        <div class="other_head dis_flex fix">
        </div>
        <div class="other_head dis_flex fix">
            <h2 style="margin-left: auto;color:red;">没有数据请先添加！</h2>
        </div>
    </div>
    <div th:if="${info != null&&cdsc!=null}">
        <div class="other_head dis_flex fix">
        </div>
        <div class="other_head dis_flex fix">
            <h2 style="margin-left: auto;color:red;">没有数据请先添加！</h2>
        </div>
    </div>
    <!-- 返回顶部 -->
    <div class="go_top">
        <a class="btn_top"></a>
    </div>
    <!-- 底部 -->
    <div class="footer_box">
        <div class="footer">
            <div class="txt">
                <strong>Copyright &copy; 2019 <a href="http://www.gem-inno.com">高博优智开发工作室</a> | </strong>版权所有 盗版必究.
            </div>
        </div>
    </div>
    <!-- 底部导航 -->
    <div class="foot_menu">
        <ul>
            <li><a th:href="@{/mcampus/findAll}"> <i><img
                    th:src="@{/asserts/images/menu_icon01.png}"></i> <span>信息采集</span> </a>
            </li>
            <li><a th:href="@{/mcampusVisit/findAll}"> <i><img
                    th:src="@{/asserts/images/menu_icon02.png}"></i>
                <span>拜访记录</span> </a></li>
            <li><a th:href="@{/mTraining/list}"> <i><img
                    th:src="@{/asserts/images/menu_icon03.png}"></i>
                <span>实训订单</span></a></li>
            <li><a style="color: #00caff" th:href="@{/mds/dsShow}"> <i><img
                    th:src="@{/asserts/images/menu_icon04.png}"></i>
                <span>日常经费</span> </a></li>
        </ul>
    </div>
</div>
</body>
<script>
    function search() {
        var dsDate = $("#dsDate").val();
        if (dsDate == null || dsDate === "") {
            layer.msg('亲，请输入日期哦!', {
                icon: 0,
                time: 1500
            });
        } else {
            $("#SearchForm").submit();
        }
    }
</script>
</html>
